var constIP = "127.0.0.1";
var ServerUrl = "http://"+constIP+":9092";
var ResUrl = "http://"+constIP+":8088/res/";
var ResImgUrl = "http://"+constIP+":8088/res-img/";
var ResVideoUrl = "http://"+constIP+":8088/video/";

// var time = new Date().format("yyyy-MM-dd");
// ResUrl += time + "/";

//mosaic_template.jpg

var FaceCount = 5;

//获取地址栏参数，name:参数名称
function getUrlParms(name){
    var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
    var r = window.location.search.substr(1).match(reg);
    if(r!=null)
        return unescape(r[2]);
    return null;
}